using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace Lizk.Utilities
{
    /// <summary>
    /// An extended ListView that uses Optimized Double Buffering.
    /// </summary>
    public class ListViewEx : ListView
    {
        /// <summary>
        /// The overridden constructor that sets the control style to use an Optimized Double Buffer.
        /// </summary>
        public ListViewEx() : base()
        {
            this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
            this.UpdateStyles();
        }
    }
}
